package User;

import java.util.Scanner;

public class AdminUser extends User{//管理员类
    public AdminUser(String AdminUser) {
        super(AdminUser);
    }

    public int adminUserMenu() {
        System.out.println("欢迎" + this.userName + "进入系统");
        System.out.println("图书管理系统");
        System.out.println("1. 查找图书");
        System.out.println("2. 新增图书");
        System.out.println("3. 删除图书");
        System.out.println("4. 显示图书");
        System.out.println("0. 退出系统");
        System.out.println("***********");

        Scanner sc = new Scanner(System.in);
        System.out.print("选择要进行的操作: ");
        int choice = sc.nextInt();
        return choice;
    }
}
